Figure 25.4
You can select the RecordSource property
from a list of tables available in the database.
Getting Acquainted with Bound Controls
You have now completed the process of connecting to a database and specifying a recordset by setting the properties of a Data control. However, to use that data, you must take one more step: set up some bound controls. Bound controls in Visual Basic are controls that are set up to work with a Data control to create database applications; hence, the controls are "bound" to information in the database. Most of the bound controls in Visual Basic are simply standard controls that have additional properties allowing them to perform data access functions. A few custom controls are designed specifically to work with the Data controls.
Some of the controls that you use as bound controls are ones with which you are already familiar:
TextBox
Label
CheckBox
PictureBox
Image
What Do These Controls Do?
Each bound control is tied to a Data control and, more specifically, to a particular field in the recordset attached to the Data control. The bound control automatically displays the information in the specified field for the current record. As the users move from one record to another using the navigation buttons of the Data control, the information in bound controls is updated to reflect the current record.